<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>forget-pass?</title>
</head>
<style type="text/css">
input {float:right;}
form {width:400px;}
</style>
<body>
<form id="form1" name="form1" method="post" action="?action=user.forgetpass">

<c:if test="${userNotExist}"><font color ="red">  You have not signed up our system! </font><br /></c:if>
<c:if test="${invalidEmail}"><font color ="red">  You have to fill the field with a valid email address! </font><br /></c:if>
<c:if test="${passSent}"><font color ="green">  An Email contains your information has been sent to your email address! </font><br /></c:if>
<c:if test="${sqlError}"><font color ="red">  Database Error! </font><br /></c:if>

<br />
  <label>Your Email:
  <input type="text" name="userEmail" id="userEmail" />
  </label>
  <p>
    <label>
    <input style="margin-left:200px; float:none;" type="submit" name="sendPassword"" id="sendPassword" value="Send Password" />
    </label>
  </p>
    <p><a href="/tracnghiem/home" title="home" target="_self"> Home</a></p>
</form>
</body>
</html>